﻿@model HRM.DAL.DAO.Attendance

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Attendance</legend>

    <div class="display-label">Employee</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Employee.Name)
    </div>

    <div class="display-label">Date</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Date)
    </div>

    <div class="display-label">InTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.InTime)
    </div>

    <div class="display-label">OutTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OutTime)
    </div>

    <div class="display-label">Comments</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Comments)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.AttendanceID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
